package com.dgut.staffmodule.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.dgut.common.util.Gender;

public class StaffEditDTO {
	private Long id;// 员工ID

	private String staffName;// 姓名
	private String password;// 密码
	private Gender sex;// 性别
	private int age;// 年龄
	private String phone;// 手机
	@DateTimeFormat(pattern = "yyyy/MM/dd")
	private Date birthday;// 出生日期
	private String address;// 地址
	private String education;// 学历
	@DateTimeFormat(pattern = "yyyy/MM/dd")
	private Date inTime;// 入职日期
	private String hobby;// 爱好
	private String department;// 注意！前端提交的是部门名称
	private String position;// 职称

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getStaffName() {
		return staffName;
	}

	public void setStaffName(String staffName) {
		this.staffName = staffName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Gender getSex() {
		return sex;
	}

	public void setSex(Gender sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getEducation() {
		return education;
	}

	public void setEducation(String education) {
		this.education = education;
	}

	public Date getInTime() {
		return inTime;
	}

	public void setInTime(Date inTime) {
		this.inTime = inTime;
	}

	public String getHobby() {
		return hobby;
	}

	public void setHobby(String hobby) {
		this.hobby = hobby;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}
}
